<#import "./layout/layout.ftl" as layout>
<@layout.page menu='ticketChecking'>
<p class="right-top-subContent"><a href="javascript:void(0);" onclick="pageSkip.goToMyHdj();">管理中心</a>&nbsp;&nbsp;/&nbsp;&nbsp;<a href="javascript:void(0);" onclick="pageSkip.goToTicketChecking();">验票</a></p>
<div class="right-bottom-content" id="right-bottom-content" style="height: 608px;">
  <div class="download-tip" id="download-tip">
    <div class="top-download">
      <img src="../../images/mgt/common/erweima-my.png" alt="二维码">
      <p>下载App<br>验票更方便</p>
    </div>
    <div class="bottom-download">
      <img src="../../images/mgt/common/erweima.png" alt="二维码">
    </div>
  </div>
  <p class="yp-tip">输入票码</p>
  <div class="yp-input">
    <input type="text" id="yp-key" maxlength="14">
    <span class="close-status" id="clear-input">×</span>
  </div>
  <div class="yp-content close-status">
    <div class="yp-already-check close-status">
      <img src="../../images/mgt/common/check-ticket.png" alt="验票">
      <p class="already-checktip">已使用</p>
      <!--<p class="already-checktime">2016-02-02 15:30:30</p>-->
    </div>
    <p class="left-type"><span class="fgx"></span>验票信息</p>
    <div class="yp-detail">
      <div class="detail-box">
        <div class="yp-title" id="ticket_name"></div>
        <p class="yp-item"><span>活动:</span><span id="activity_title"></span></p>
        <p class="yp-item"><span>场地:</span><span id="activity_address"></span></p>
        <p class="yp-item"><span>时间:</span><span id="activity_time"></span></p>
        <input id="ticket_id" type="hidden">
        <input id="ticket_extraData" type="hidden">
      </div>
    </div>
    <div class="yp-user">
      <div class="user-box" id="sign_info"></div>
      <!--<p class="user-more"><span class="fa fa-angle-down"></span><span class="more-word">更多信息</span></p>-->
    </div>
  </div>
  <div class="yp-btn-group close-status">
    <button class="yp-ok" onclick="ticket.confirmTicket();">确定使用</button>
    <button class="yp-cancel">取消验票</button>
  </div>
  <button class="yp-check" onclick="ticket.getQRCodeInfo();">验票</button>
  <button class="yp-again close-status">换一张</button>
</div>
<script type="text/javascript" src="../../data/mgt/stats" charset="UTF-8"></script>
</@layout.page>